Previous Book Contents Book Index Next

Inside Macintosh: 3D Graphics Programming With QuickDraw 3D /
Chapter 20 - QuickDraw 3D Mathematical Utilities / QuickDraw 3D Mathematical Utilities Reference
QuickDraw 3D Mathematical Utilities / Determining the Lengths of Vectors


Q3Vector3D_Length

You can use the Q3Vector3D_Length function to determine the length of a three-dimensional vector.

float Q3Vector3D_Length (const TQ3Vector3D *vector3D);
vector3D
A three-dimensional vector.
DESCRIPTION
The Q3Vector3D_Length function returns, as its function result, the length of the vector vector3D.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
11 JUL 1996